#ifndef REDTYPES
#define REDTYPES

namespace red{

#ifdef _MSC_VER
	typedef unsigned __int8		u8;
#else
	typedef unsigned char		u8;
#endif

#ifdef _MSC_VER
	typedef __int8				s8;
#else
	typedef signed char			s8;
#endif

#ifdef _MSC_VER
	typedef unsigned __int16	u16;
#else
	typedef unsigned short		u16;
#endif

#ifdef _MSC_VER
	typedef __int16				s16;
#else
	typedef signed short		s16;
#endif

#ifdef _MSC_VER
	typedef unsigned __int32	u32;
#else
	typedef signed int			u32;
#endif

#ifdef _MSC_VER
	typedef __int32				s32;
#else
	typedef signed int			s32;
#endif

	typedef float f32;
	typedef double f64;

}

#endif